home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / util / Mac F2C 1.3.sit / Mac F2C 1.3 / Mac F2C Libraries / libF77 Sources / d_dim.c < prev    next >
C/C++ Source or Header  |  1995-01-28  |  165b  |  11 lines

  1. #include "f2c.h"
  2.  
  3. #ifdef KR_headers
  4. double d_dim(a,b) doublereal *a, *b;
  5. #else
  6. double d_dim(doublereal *a, doublereal *b)
  7. #endif
  8. {
  9. return( *a > *b ? *a - *b : 0);
  10. }
  11.